package model;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.util.List;

public class Translation {
    /**
     * 翻译
     */
    private List<String> translation;

    /**
     * 条件
     */
    private String query;

    /**
     * 错误码
     */
    private String errorCode;

    private Basic basic;

    public List<String> getTranslation() {
        return translation;
    }

    public void setTranslation(List<String> translation) {
        this.translation = translation;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public Basic getBasic() {
        return basic;
    }

    public void setBasic(Basic basic) {
        this.basic = basic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("translation", translation)
                .append("query", query)
                .append("errorCode", errorCode)
                .append("basic", basic)
                .toString();
    }
}
